﻿<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
    <title>无人机综合管理系统</title>
    <link rel="icon" href="favicon.ico" type="image/x-icon"/><!--网页标题显示-->
    <link rel="Shortcut Icon" href="favicon.ico" type="image/x-icon"><!--网页标题显示-->
    <link rel="Bookmark" href="favicon.ico"><!--被收藏后，收藏夹显示-->
    <meta name="keywords" content="无人机综合管理系统" />
    <meta name="description" content="无人机综合管理系统" />
    <link href="../superui/content/ui/css/layout.css"  th:href="@{/superui/content/ui/css/layout.css}" rel="stylesheet" />
    <link href="../superui/content/ui/css/login.css" th:href="@{/superui/content/ui/css/login.css}" rel="stylesheet"/>
    <style>
        .ibar {
            display: none;
        }
    </style>
    <script th:inline="javascript">
        /*<![CDATA[*/
        var baseUrl = [[${#httpServletRequest.getContextPath()}]];
        //    var baseUrl = [[@{/}]];
        if (baseUrl === '/') baseUrl = '';
        console.log("baseURL:"+baseUrl);
        if (window != top)
            top.location.href = baseUrl+"/login";

        /*]]>*/
    </script>
</head>

<body class="login-bg">
    <div class="main">
        <!--登录-->
        <div class="login-dom login-max">
            <div class="logo text-center">
                <a href="#">
                    <img src="../superui/content/ui/img/logo.png" th:src="@{/superui/content/ui/img/logo.png}" width="180px" height="180px"
                         style="border-radius: 180px;"/>
                </a>
            </div>
            <div class="login container " id="login">
                <p class="text-big text-center logo-color">
                     我们的口号
                </p>

                <p class="text-center margin-small-top logo-color text-small">
                    让每一位孩子不输在起跑线上
                </p>
                <p class="text-center margin-small-top" style="color: indianred;" th:text="${#httpServletRequest.getAttribute('msg')}">登录错误</p>
                <form class="login-form" action="/loginUser" th:action="@{/loginUser}" method="get" autcomplete="off">
                    <div class="login-box border text-small" id="box">
                        <div class="name border-bottom">
                            <input type="text" placeholder="账号" id="username" name="username" datatype="*" nullmsg="请填写帐号信息" />
                        </div>
                        <div class="pwd">
                            <input type="password" placeholder="密码" datatype="*" id="password" name="password" nullmsg="请填写帐号密码" />
                        </div>
                    </div>
                    <input type="submit" class="btn text-center login-btn" value="立即登录" />
                </form>
                <div class="forget">
                    <!--<a href="#" class="forget-pwd text-small fl"> 忘记登录密码？</a>-->
                    <a href="#" class="forget-new text-small fr" id="forget-new">注册账号</a>
                </div>
            </div>
        </div>
        <div class="footer text-center text-small ie">
            Copyright 2017-2020 版权所有 ©首航国翼 2017-2020      <a href="#" target="_blank">粤ICP备16024545号-1</a>
            <span class="margin-left margin-right">|</span>
        </div>
        <div class="popupDom">
            <div class="popup text-default">
            </div>
        </div>
    </div>
    <script src="../superui/content/ui/global/jQuery/jquery.min.js" th:src="@{/superui/content/ui/global/jQuery/jquery.min.js}"></script>
</body>



</html>